import { SET_LIST_TEXT } from '../action/actionTypes' 

const text = (state='', action) => {
    switch (action.type) {
        case SET_LIST_TEXT:
            return {
                text: action.text
            }
        default:
            return state
    }
}

export default text